package com.ruoyi.delivery.domain;

import java.util.Date;
public class DelCarrierInfo {
    private String carrierNo;
    private String carrierName;
    private int carrierType;
    private String carrierAddress;
    private String contactPhone;
    private String contactPerson;
    private String contactEmail;
    private Date generateDate;
    private Date updatedDate;
    private String updatedPerson;
    private int activeStatus;

    // Default constructor
    public DelCarrierInfo() {}

    // Constructor with parameters
    public DelCarrierInfo(String carrierNo, String carrierName, int carrierType, String carrierAddress,
                       String contactPhone, String contactPerson, String contactEmail, Date generateDate,
                       Date updatedDate, String updatedPerson, int activeStatus) {
        this.carrierNo = carrierNo;
        this.carrierName = carrierName;
        this.carrierType = carrierType;
        this.carrierAddress = carrierAddress;
        this.contactPhone = contactPhone;
        this.contactPerson = contactPerson;
        this.contactEmail = contactEmail;
        this.generateDate = generateDate;
        this.updatedDate = updatedDate;
        this.updatedPerson = updatedPerson;
        this.activeStatus = activeStatus;
    }

    // Getters and Setters
    public String getCarrierNo() {
        return carrierNo;
    }

    public void setCarrierNo(String carrierNo) {
        this.carrierNo = carrierNo;
    }

    public String getCarrierName() {
        return carrierName;
    }

    public void setCarrierName(String carrierName) {
        this.carrierName = carrierName;
    }

    public int getCarrierType() {
        return carrierType;
    }

    public void setCarrierType(int carrierType) {
        this.carrierType = carrierType;
    }

    public String getCarrierAddress() {
        return carrierAddress;
    }

    public void setCarrierAddress(String carrierAddress) {
        this.carrierAddress = carrierAddress;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    public String getContactPerson() {
        return contactPerson;
    }

    public void setContactPerson(String contactPerson) {
        this.contactPerson = contactPerson;
    }

    public String getContactEmail() {
        return contactEmail;
    }

    public void setContactEmail(String contactEmail) {
        this.contactEmail = contactEmail;
    }

    public Date getGenerateDate() {
        return generateDate;
    }

    public void setGenerateDate(Date generateDate) {
        this.generateDate = generateDate;
    }

    public Date getUpdatedDate() {
        return updatedDate;
    }

    public void setUpdatedDate(Date updatedDate) {
        this.updatedDate = updatedDate;
    }

    public String getUpdatedPerson() {
        return updatedPerson;
    }

    public void setUpdatedPerson(String updatedPerson) {
        this.updatedPerson = updatedPerson;
    }

    public int getActiveStatus() {
        return activeStatus;
    }

    public void setActiveStatus(int activeStatus) {
        this.activeStatus = activeStatus;
    }

    @Override
    public String toString() {
        return "CarrierInfo{" +
                "carrierNo='" + carrierNo + '\'' +
                ", carrierName='" + carrierName + '\'' +
                ", carrierType='" + carrierType +
                ", carrierAddress='" + carrierAddress + '\'' +
                ", contactPhone='" + contactPhone + '\'' +
                ", contactPerson='" + contactPerson + '\'' +
                ", contactEmail='" + contactEmail + '\'' +
                ", generateDate=" + generateDate +
                ", updatedDate=" + updatedDate +
                ", updatedPerson='" + updatedPerson + '\'' +
                ", activeStatus=" + activeStatus +
                '}';
    }
}
